package com.um.psystem.mapper.platform.faultManageMapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Auther: AiLen2E
 * @Date: 2021/12/21 10:51
 * @version: 1.0
 */
@Mapper
public interface IFaultDeviceMapper {

    Integer addDevice(Map map);

    Integer removeDevice(@Param("device_id") Integer id);

    Integer removeDeviceByLineId(@Param("lineid")Integer lineid);

    Integer changeDevice(Map map);

    List<Map<String,Object>> getDeviceList(Map map);

}
